The Official driver for EW-7811Un supports Linux kernel up to v3.9 only. Any versions higher than that are not supported. However, starting from kernel v3.10, there is a built-in driver for our EW-7811Un. You don't need to install any driver, i.e. Plug-and-Play.
If you have issue(s) with the built-in driver, it may be related to this bug. The solution is to use an open source driver from github as suggested from the bug report's comment #8.
Here's the instructions on how to install the open source driver from github on Debian-based Linux OS with kernel v3.10 or higher. Installation is done using Command Line Interface (CLI) in a Terminal program. Commands are in green below and you should type them in one command at a time.
- plugin the EW-7811Un to your system's USB port (2.0 preferred)
- make sure your system has temporary Internet connection
- open a Terminal program
- make sure your system is up-to-date
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
[ Note: You may need to restart your system if kernel update has been installed. ] - install the necessary files to compile a device driver
sudo apt-get install linux-headers-$(uname -r) build-essential dkms git - restart your system
sudo reboot - after finished booting up, open a Terminal program again
- clone the github repository
git clone https://github.com/pvaret/rtl8192cu-fixes.git
[ Note: Right after "rt", it is a letter "l" (like Larry), not a number "1" (like 1980.) Typing it wrong will cause GitHub to ask for Username and Password. Please note that accordingly. ] - setup as DKMS module
sudo dkms add ./rtl8192cu-fixes - build and install the rtl8192cu driver
sudo dkms install 8192cu/1.11 - refresh modules list
sudo depmod -a - blacklisted the native kernel
sudo cp ./rtl8192cu-fixes/blacklist-native-rtl8192.conf /etc/modprobe.d/ - disable power management
sudo cp ./rtl8192cu-fixes/8192cu-disable-power-management.conf /etc/modprobe.d/ - restart your system to use the new driver
sudo reboot
For removal, you can use the following commands.
sudo su
rm /etc/modprobe.d/blacklist-native-rtl8192.conf
rm /etc/modprobe.d/8192cu-disable-power-management.conf
dkms remove 8192cu/1.11 --all